namespace Radius.NET.Interface.Entity
{
    /// <summary>
    /// 
    /// </summary>
    [Tenant(DbConfigIdConst.QyjConfigId),NotTable]
    [SugarTable("Sa_Orders")]
    public class SaOrders
    {
        /// <summary>
        /// 
        /// </summary>
        public SaOrders()
        {
        }

        /// <summary>
        /// 合同编号
        ///
        /// </summary>
        [SugarColumn(IsPrimaryKey = true)]
        public System.String OrderID { get; set; }

        /// <summary>
        /// 客户PO
        ///
        /// </summary>
        public System.String Cnpo { get; set; }

        /// <summary>
        /// 客户
        ///
        /// </summary>
        public System.String ContactNum { get; set; }

        /// <summary>
        /// 签订日期
        ///
        /// </summary>
        public System.DateTime? OrderDate { get; set; }

        /// <summary>
        /// 到达目的地日期
        ///
        /// </summary>
        public System.DateTime? DueDate { get; set; }

        /// <summary>
        /// 发货日期
        ///
        /// </summary>
        public System.DateTime? ShipDate { get; set; }

        /// <summary>
        /// 货币类型
        ///价格类别
        ///
        /// </summary>
        public System.String CurrencyType { get; set; }

        /// <summary>
        /// 价格类别
        ///
        /// </summary>
        public System.String Sales_Price_Type { get; set; }

        /// <summary>
        /// 摘要
        ///
        /// </summary>
        public System.String Summary { get; set; }

        /// <summary>
        /// 制单人
        ///
        /// </summary>
        public System.String Maker { get; set; }

        /// <summary>
        /// 审核人
        ///
        /// </summary>
        public System.String Verifier { get; set; }

        /// <summary>
        /// 记帐人
        ///
        /// </summary>
        public System.String Poster { get; set; }

        /// <summary>
        /// 业务员
        ///
        /// </summary>
        public System.String Person_Incharge { get; set; }

        /// <summary>
        /// 送货地址
        ///
        /// </summary>
        public System.String Shipping_Address { get; set; }

        /// <summary>
        /// 已记帐
        ///
        /// </summary>
        public System.Int32? Posted { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.Int32? KF_Verified { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.Int32? SC_Verified { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.Int32? YW_Verified { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.Int32? CG_Verified { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.Int32? ZJ_Verified { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.Int32? JL_Verified { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String KF_Verifier { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String SC_Verifier { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String YW_Verifier { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String CG_Verifier { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String ZJ_Verifier { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String JL_Verifier { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.DateTime? KF_VerifyDate { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.DateTime? SC_VerifyDate { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.DateTime? YW_VerifyDate { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.DateTime? CG_VerifyDate { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.DateTime? ZJ_VerifyDate { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.DateTime? JL_VerifyDate { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String KF_Sum { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String SC_Sum { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String YW_Sum { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String CG_Sum { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String ZJ_Sum { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String JL_Sum { get; set; }

        /// <summary>
        /// 地区编码
        ///
        /// </summary>
        public System.String Area_id { get; set; }

        /// <summary>
        /// 付款方式
        ///
        /// </summary>
        public System.String Payment { get; set; }

        /// <summary>
        /// 运输方式
        ///
        /// </summary>
        public System.String ShipBy { get; set; }

        /// <summary>
        /// 运费分担
        ///
        /// </summary>
        public System.String ExpenseBy { get; set; }

        /// <summary>
        /// 银行
        ///
        /// </summary>
        public System.String Bank { get; set; }

        /// <summary>
        /// 银行帐户
        ///
        /// </summary>
        public System.String Bank_Name { get; set; }

        /// <summary>
        /// 金额
        ///
        /// </summary>
        public System.String Account { get; set; }

        /// <summary>
        /// 产品类型
        ///
        /// </summary>
        public System.String Product_Type { get; set; }

        /// <summary>
        /// 关闭
        ///
        /// </summary>
        public System.Int32? Closed { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.Int32? ProjectIssueType { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String ProjectID { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String ExceedCreditApplication { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String ExceedCreditSum { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.Int32? ExceedCreditVerify { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String ExceedCreditVerifer { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.DateTime? ExceedCreditVerifyDate { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.DateTime? ExceedCreditAppDate { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String ExceedCreditApper { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.DateTime? VerifierDate { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.Double? CR { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.Double? AR { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.Double? AllOrderAmount { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.Double? OrderAmount { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.Double? OrderAmountOut { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.Double? AddCR { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.Double? TaxRate { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.DateTime? CreateDate { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String DeptLead { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String FProjectCode { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.Int32? Verified { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.DateTime? PostedDate { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.DateTime? MakerDate { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String Closeder { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.Int32? ClosedType { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.Int32? OrderType { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.DateTime? ClosedDate { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String Businesser { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.Int32? SaleType { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String MSysncDB { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String DSysncDB { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.Int32? ISysnc { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.Int32? FPackPlan { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String CloseSumm { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String CNuser { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.DateTime? CNtime { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.DateTime? CNwcTime { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String CNsummary { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.Int32? PsLp { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.Int32? WebAudit { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String ProjectTask { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.Int32? OAVerified { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String ContactMan { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.Int32? FgoTz { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.Double? Weight { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.Double? Amount { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String CustTypeId { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String ContactPerson { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.DateTime? ExpectShipDate { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.Double? FreightByAmount { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String ContactPhone { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.Int32? Pked { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.Int32? DtFrom { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.Int32? _cid { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.Int32? ISspecial { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.Int32? ISinvoice { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String InvSort { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String Evfrom { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String CF01 { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String CF02 { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String CF03 { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String CF04 { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String CF05 { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String CF06 { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String CF07 { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String CF08 { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String CF09 { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String CF10 { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.Int32? Myear { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.Int32? Mmonth { get; set; }

        /// <summary>
        /// 销售订单明细导航
        /// </summary>
        [Navigate(NavigateType.OneToMany, nameof(SaOrdersDetail.OrderID))]
        public List<SaOrdersDetail> FG_SaDetail { get; set; }
    }
}